<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

	<title>Module: RubyRegex</title>

	<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />

	<script src="./js/jquery.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="./js/thickbox-compressed.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="./js/quicksearch.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="./js/darkfish.js" type="text/javascript"
		charset="utf-8"></script>

</head>
<body class="module">

	<div id="metadata">
		<div id="home-metadata">
			<div id="home-section" class="section">
        <h3 class="section-header">
          <a href="./index.html">Home</a>
          <a href="./index.html#classes">Classes</a>
          <a href="./index.html#methods">Methods</a>
        </h3>
			</div>
		</div>

		<div id="file-metadata">
			<div id="file-list-section" class="section">
				<h3 class="section-header">In Files</h3>
				<div class="section-body">
					<ul>
					
						<li><a href="./lib/ruby_regex_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
							class="thickbox" title="lib/ruby_regex.rb">lib/ruby_regex.rb</a></li>
					
					</ul>
				</div>
			</div>

			
		</div>

		<div id="class-metadata">

			<!-- Parent Class -->
			

			<!-- Namespace Contents -->
			

			<!-- Method Quickref -->
			

			<!-- Included Modules -->
			
		</div>

		<div id="project-metadata">
			
			
			<div id="fileindex-section" class="section project-section">
				<h3 class="section-header">Files</h3>
				<ul>
				
					<li class="file"><a href="./CHANGELOG.html">CHANGELOG</a></li>
				
					<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
				
					<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
				
				</ul>
			</div>
			

			<div id="classindex-section" class="section project-section">
				<h3 class="section-header">Class Index
					<span class="search-toggle"><img src="./images/find.png"
						height="16" width="16" alt="[+]"
						title="show/hide quicksearch" /></span></h3>
				<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
				<fieldset>
					<legend>Quicksearch</legend>
					<input type="text" name="quicksearch" value=""
						class="quicksearch-field" />
				</fieldset>
				</form>

				<ul class="link-list">
				
					<li><a href="./RubyRegex.html">RubyRegex</a></li>
				
				</ul>
				<div id="no-class-search-results" style="display: none;">No matching classes.</div>
			</div>

			
		</div>
	</div>

	<div id="documentation">
		<h1 class="module">RubyRegex</h1>

		<div id="description">
			
		</div>

		<!-- Constants -->
		
		<div id="constants-list" class="section">
			<h3 class="section-header">Constants</h3>
			<dl>
			
				<dt><a name="Username">Username</a></dt>
				
				<dd class="description"><p>
<a href="RubyRegex.html#Username">Username</a> This regular expression
doesn&#8217;t validate username&#8217;s length
</p></dd>
				
			
				<dt><a name="Dni">Dni</a></dt>
				
				<dd class="description"><p>
<a href="RubyRegex.html#Dni">Dni</a> (spanish ID card)
</p></dd>
				
			
				<dt><a name="Url">Url</a></dt>
				
				<dd class="description"><p>
URL
</p></dd>
				
			
				<dt><a name="Domain">Domain</a></dt>
				
				<dd class="description"><p>
<a href="RubyRegex.html#Domain">Domain</a>
</p></dd>
				
			
				<dt><a name="CreditCard">CreditCard</a></dt>
				
				<dd class="description"><p>
<a href="RubyRegex.html#CreditCard">CreditCard</a> Validates Credit Card
numbers, Checks if it contains 16 numbers in groups of 4 separated by -,
space or nothing
</p></dd>
				
			
				<dt><a name="MasterCard">MasterCard</a></dt>
				
				<dd class="description"><p>
<a href="RubyRegex.html#MasterCard">MasterCard</a> credit card
</p></dd>
				
			
				<dt><a name="Visa">Visa</a></dt>
				
				<dd class="description"><p>
<a href="RubyRegex.html#Visa">Visa</a> credit card
</p></dd>
				
			
				<dt><a name="USSocialSecurity">USSocialSecurity</a></dt>
				
				<dd class="description"><p>
US Social Security
</p></dd>
				
			
				<dt><a name="GeneralPostalCode">GeneralPostalCode</a></dt>
				
				<dd class="description"><p>
General postal code Validates a 5 digits postal code
</p></dd>
				
			
				<dt><a name="ZIPCode">ZIPCode</a></dt>
				
				<dd class="description"><p>
US ZIP code Validates US ZIP Code (basic and extended format)
</p></dd>
				
			
				<dt><a name="TwitterUsername">TwitterUsername</a></dt>
				
				<dd class="description"><p>
Twitter username
</p></dd>
				
			
				<dt><a name="GithubUsername">GithubUsername</a></dt>
				
				<dd class="description"><p>
Github username
</p></dd>
				
			
				<dt><a name="SlideshareUsername">SlideshareUsername</a></dt>
				
				<dd class="description"><p>
Slideshare username
</p></dd>
				
			
				<dt><a name="DeliciousUsername">DeliciousUsername</a></dt>
				
				<dd class="description"><p>
Del.icio.us username
</p></dd>
				
			
				<dt><a name="Email">Email</a></dt>
				
				<dd class="description"><p>
RFC822 <a href="RubyRegex.html#Email">Email</a> Address Regex
</p>
<p>
Originally written by Cal Henderson c.f. <a
href="http://iamcal.com/publish/articles/php/parsing_email/">iamcal.com/publish/articles/php/parsing_email/</a>
</p>
<p>
Translated to Ruby by Tim Fletcher, with changes suggested by Dan Kubb.
</p>
<p>
Licensed under a Creative Commons Attribution-ShareAlike 2.5 License <a
href="http://creativecommons.org/licenses/by-sa/2.5/">creativecommons.org/licenses/by-sa/2.5/</a>
</p></dd>
				
			
			</dl>
		</div>
		

		<!-- Attributes -->
		

		<!-- Methods -->
		

	</div>


	<div id="rdoc-debugging-section-dump" class="debugging-section">
	
		<p>Disabled; run with --debug to generate this.</p>
	
	</div>

	<div id="validator-badges">
		<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
		<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
			Rdoc Generator</a> 1.1.6</small>.</p>
	</div>

</body>
</html>

